throwIfCanceled

Throws OperationCanceledException if the operation has been canceled.

Throws

if the operation has been canceled.